package com.qms.qep.mapper;

import java.util.List;
import com.qms.qep.domain.Equipment;

/**
 * 检测设备Mapper接口
 * 
 * @author qep
 */
public interface EquipmentMapper 
{
    /**
     * 查询检测设备
     * 
     * @param id 检测设备主键
     * @return 检测设备
     */
    public Equipment selectEquipmentById(Long id);

    /**
     * 查询检测设备列表
     * 
     * @param equipment 检测设备
     * @return 检测设备集合
     */
    public List<Equipment> selectEquipmentList(Equipment equipment);

    /**
     * 新增检测设备
     * 
     * @param equipment 检测设备
     * @return 结果
     */
    public int insertEquipment(Equipment equipment);

    /**
     * 修改检测设备
     * 
     * @param equipment 检测设备
     * @return 结果
     */
    public int updateEquipment(Equipment equipment);

    /**
     * 删除检测设备
     * 
     * @param id 检测设备主键
     * @return 结果
     */
    public int deleteEquipmentById(Long id);

    /**
     * 批量删除检测设备
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentByIds(Long[] ids);
} 